package org.rcgwt.client.ui.validator;

/**
 * A Filter interface which provides a filter method.
 * 
 * @author Elian ORIOU
 * 
 */

public interface IFilter extends IValidatorElement {
	/**
	 * Analyzes the character (launched by the keyboard event), and return true
	 * if the character is accepted, false otherwise
	 * 
	 * @param context
	 *            TODO
	 * @param c
	 *            The character to analyze
	 * @param parameters
	 * 
	 * @return The filtering state<
	 */
	boolean filter(IClientValidatorContext context, char c);
}
